Ext.define('HIT.store.DBSettingDestStore', {
    extend: 'Ext.data.Store',

    requires: [
        'HIT.model.DBSettingModel'
    ],

    constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            storeId: 'dbsettingdestStore',
            model: 'HIT.model.DBSettingModel',
            data: [
                   {columnname:'COMPANY_ID',datatype:'INTEGER'},
                   {columnname:'H_DOCUMENT_NO',datatype:'NVARCHAR'},
                   {columnname:'H_DOCUMENT_DATE',datatype:'DateTime'},
                   {columnname:'H_DOCUMENT_TYPE',datatype:'INTEGER'}, 
                   {columnname:'H_DOC_TYPE_CODE',datatype:'NVARCHAR'},
                   {columnname:'H_CUST_ID',datatype:'INTEGER'}, 
                   {columnname:'H_CUST_CODE',datatype:'NVARCHAR'},
                   {columnname:'H_CUST_NAME_CHN',datatype:'NVARCHAR'}, 
                   {columnname:'H_CUST_NAME_ENG',datatype:'NVARCHAR'},
                   {columnname:'H_TAX_CODE',datatype:'NVARCHAR'}, 
                   {columnname:'H_TAX_AMOUNT',datatype:'DECIMAL'},
                   {columnname:'H_BANK_ACCOUNT',datatype:'NVARCHAR'}, 
                   {columnname:'H_ADDRESS',datatype:'NVARCHAR'},
                   {columnname:'H_TAX_CONTROL_TYPE',datatype:'Char'}, 
                   {columnname:'H_REMARK',datatype:'NVARCHAR'},
                   {columnname:'H_AMOUNT_CUR_TOTAL',datatype:'DECIMAL'}, 
                   {columnname:'H_AMOUNT_SRC_TOTAL',datatype:'DECIMAL'},
                   {columnname:'H_TOTAL_LINE_NO',datatype:'INTEGER'}, 
                   {columnname:'H_OPERATOR',datatype:'NVARCHAR'},
                   {columnname:'H_CHECKER',datatype:'NVARCHAR'}, 
                   {columnname:'H_REMITTEE',datatype:'NVARCHAR'},
                   {columnname:'H_DOC_STATUS',datatype:'INTEGER'}, 
                   {columnname:'H_DOC_LOCKED',datatype:'INTEGER'},
                   {columnname:'H_GOODS_LIST_NAME',datatype:'NVARCHAR'}, 
                   {columnname:'H_SELLER_NAME',datatype:'NVARCHAR'},
	               {columnname:'H_SELLER_TAX_CODE',datatype:'NVARCHAR'}, 
                   {columnname:'H_SELLER_ADDRESS',datatype:'NVARCHAR'},
                   {columnname:'H_SELLER_BANK_ACCOUNT',datatype:'NVARCHAR'}, 
                   {columnname:'H_INVOICE_CODE',datatype:'NVARCHAR'},
                   {columnname:'H_INVOICE_NO',datatype:'NVARCHAR'}, 
                   {columnname:'H_INVOICE_DATE',datatype:'DateTime'},
                   {columnname:'H_PRICE_WAY',datatype:'SMALLINT'}, 
                   {columnname:'H_VOID_FLAG',datatype:'SMALLINT'},
                   {columnname:'H_REF01',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF02',datatype:'NVARCHAR'},
                   {columnname:'H_REF03',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF04',datatype:'NVARCHAR'},
                   {columnname:'H_REF05',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF06',datatype:'NVARCHAR'},
                   {columnname:'H_REF07',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF08',datatype:'NVARCHAR'},
                   {columnname:'H_REF09',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF10',datatype:'NVARCHAR'},
                   {columnname:'H_REF11',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF12',datatype:'NVARCHAR'},
                   {columnname:'H_REF13',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF14',datatype:'NVARCHAR'},
                   {columnname:'H_REF15',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF16',datatype:'NVARCHAR'},
                   {columnname:'H_REF17',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF18',datatype:'NVARCHAR'},
                   {columnname:'H_REF19',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF20',datatype:'NVARCHAR'},
                   {columnname:'H_REF21',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF22',datatype:'NVARCHAR'},
                   {columnname:'H_REF23',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF24',datatype:'NVARCHAR'},
                   {columnname:'H_REF25',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF26',datatype:'NVARCHAR'},
                   {columnname:'H_REF27',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF28',datatype:'NVARCHAR'},
                   {columnname:'H_REF29',datatype:'NVARCHAR'}, 
                   {columnname:'H_REF30',datatype:'NVARCHAR'},
                   {columnname:'D_GOODS_LINE',datatype:'INTEGER'}, 
                   {columnname:'D_GOODS_CODE',datatype:'NVARCHAR'},
                   {columnname:'D_GOODS_NAME',datatype:'NVARCHAR'}, 
                   {columnname:'D_GOODS_UNIT',datatype:'NVARCHAR'},
                   {columnname:'D_SPEC',datatype:'NVARCHAR'}, 
                   {columnname:'D_TAX_ITEM',datatype:'NVARCHAR'},
                   {columnname:'D_TAX_RATE',datatype:'DECIMAL'}, 
                   {columnname:'D_TAX_AMOUNT',datatype:'DECIMAL'},
                   {columnname:'D_QUANTITY',datatype:'DECIMAL'}, 
                   {columnname:'D_PRICE_CUR',datatype:'DECIMAL'},
                   {columnname:'D_AMOUNT_CUR',datatype:'DECIMAL'}, 
                   {columnname:'D_REMARK',datatype:'NVARCHAR'},
                   {columnname:'D_DISCOUNT_SUM',datatype:'DECIMAL'}, 
                   {columnname:'D_DISCOUNT_TAX',datatype:'DECIMAL'},
                   {columnname:'D_DISCOUNT_RATE',datatype:'DECIMAL'}, 
                   {columnname:'D_PRICE_WAY',datatype:'SMALLINT'},
                   {columnname:'D_REF01',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF02',datatype:'NVARCHAR'},
                   {columnname:'D_REF03',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF04',datatype:'NVARCHAR'},
                   {columnname:'D_REF05',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF06',datatype:'NVARCHAR'},
                   {columnname:'D_REF07',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF08',datatype:'NVARCHAR'},
                   {columnname:'D_REF09',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF10',datatype:'NVARCHAR'},
                   {columnname:'D_REF11',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF12',datatype:'NVARCHAR'},
                   {columnname:'D_REF13',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF14',datatype:'NVARCHAR'},
                   {columnname:'D_REF15',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF16',datatype:'NVARCHAR'},
                   {columnname:'D_REF17',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF18',datatype:'NVARCHAR'},
                   {columnname:'D_REF19',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF20',datatype:'NVARCHAR'},
                   {columnname:'D_REF21',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF22',datatype:'NVARCHAR'},
                   {columnname:'D_REF23',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF24',datatype:'NVARCHAR'},
                   {columnname:'D_REF25',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF26',datatype:'NVARCHAR'},
                   {columnname:'D_REF27',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF28',datatype:'NVARCHAR'},
                   {columnname:'D_REF29',datatype:'NVARCHAR'}, 
                   {columnname:'D_REF30',datatype:'NVARCHAR'},
                   {columnname:'RETURN_FLAG',datatype:'SMALLINT'},
                   {columnname:'DISCOUNT_FLAG',datatype:'SMALLINT'},
                   {columnname:'D_REBATE_AMOUNT',datatype:'DECIMAL'},
                   {columnname:'ABS_AMOUNT_CUR',datatype:'DECIMAL'}
                   ]
        }, cfg)]);
    }
});